package model.configuration;

public class ConfigData {

	static public final	long 	NOVALUELONG 		= -9000;
	static public final	String	STRINGNOVALUE 		= "";
	
	static public final	int 	CODEUNDEFINE		= -9000;
	static public final	int		CODEFAILURE			= 0;
	static public final	int		CODESUCCESS			= 1;
	
	// Database section
	static public final String	CONTEXTNAME			= "java:comp/env";
	static public final String	DATASOURCE			= "jdbc/posterminalweb";
	static public final	String	DRIVERCLASSNAME		= "org.postgresql.Driver";
	static public final	String	CONNECTIONSTRING	= "jdbc:postgresql://localhost/postgres";
	static public final	String	CONNECTIONUSER		= "postgres";
	static public final	String	CONNECTIONPASSWORD	= "-";
	static public final	String	CONNECTIONPORT		= "5432";
	
	static public final	int		DATABASETIMEOUT		= 30;
	
	// Logger section
	public static final String METHOD_START_TEXT	= "Method staterted";
	public static final String METHOD_END_TEXT		= "Method ended";
	
	// Unit text section
	static public final	String	TESTTEXT4UNITTEST	= " = UNIT TEST = ";
	
	// xml serialize deserialize section
	static public final String XML_HEAD_UTF8		= "<?xml version=\"1.0\" encoding= \"UTF-8\" ?>";
	
	// business logic section
	public static final int MIN_SERIAL_NUMBER_LENGTH = 1;
	public static final int ZERO_STRING_SIZE = 0;
	
}
